]> dgit.raspbian.org Git - gnome-shell.git/commit
dash: Use connectObject to track signal connection to global objects
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Wed, 15 Apr 2026 21:24:25 +0000 (23:24 +0200)
committerMarge Bot <marge-bot@gnome.org>
Fri, 17 Apr 2026 14:40:53 +0000 (14:40 +0000)
commit187f27837a331675d322a2065745dfeab4ec501e
tree014d906f5c0f3816014a6e7191cd59b7da0e8633
parente63796ded511fed3e9e4c1aa16d2868cb05e80d1
dash: Use connectObject to track signal connection to global objects

While the dash is never destroyed in vanilla gnome shell, various
extensions (such as dash-to-dock) are using this code, potentially for
every monitor.

And so we should make sure that the signals are disconnected when the
actor is destroyed.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4180>
js/ui/dash.js